home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / pcboard / vrs501.zip / VRS-M4.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1996-10-08  |  3KB  |  168 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     Integer  INTEGER002
  21.     String   STRING001
  22.     String   STRING002
  23.     String   STRING003
  24.     String   STRING004
  25.     String   STRING005
  26.     String   STRING006
  27.  
  28. ;------------------------------------------------------------------------------
  29.  
  30.     Goto LABEL001
  31.     End
  32.     If (0 == 0) STRING001 = "NO"
  33.     If (0 == 1) STRING001 = "YES"
  34.  
  35.     EndFunc
  36.  
  37.     :LABEL001
  38.     STRING002 = String(PcbNode())
  39.     If (PcbNode() == 0) STRING002 = "A"
  40.     STRING003 = GetEnv(STRING002 + "RECNO")
  41.     STRING003 = ToInteger(STRING003)
  42.     DOpen 0, PPEPath() + "USER.DBF", 0
  43.     DGo 0, STRING003
  44.     DTop 0
  45.     :LABEL002
  46.     DSkip 0, 1
  47.     If (DEof(0)) Goto LABEL003
  48.     If (DGet(0, "HITPTS_L") > 0) Goto LABEL002
  49.     If (DGet(0, "CASH") < 1) Goto LABEL002
  50.     If (DGet(0, "ONLINE") == "Y") Goto LABEL002
  51.     STRING004 = Trim(DGet(0, "HANDLE"), " ")
  52.     STRING004 = Mixed(STRING004)
  53.     INTEGER001 = DRecNo(0)
  54.     DGet 0, "CASH", INTEGER002
  55.     DGet 0, "FILE_NUM", STRING005
  56.     DPut 0, "CASH", 0
  57.     DPut 0, "WEAPN1", 0
  58.     DPut 0, "WEAPN2", 0
  59.     DPut 0, "S_W_NUMBER", 0
  60.     DPut 0, "WEAPT1", "NONE"
  61.     DPut 0, "WEAPT2", "NONE"
  62.     DPut 0, "S_W_NAME", "NONE"
  63.     DPut 0, "WEAPA1", 0
  64.     DPut 0, "WEAPA2", 0
  65.     DPut 0, "S_W_AMMO", 0
  66.     DPut 0, "WEAPD1", 0
  67.     DPut 0, "WEAPD2", 0
  68.     DPut 0, "S_W_DAMAGE", 0
  69.     DPut 0, "ARMOR_D", 0
  70.     DPut 0, "ARMOR_N", "NONE"
  71.     DGo 0, STRING003
  72.     DGet 0, "HANDLE", STRING006
  73.     DGo 0, INTEGER001
  74.     FAppend 1, PPEPath() + STRING005 + ".MSG", 2, 0
  75.     FPutLn 1, "@X0B" + Trim(Mixed(STRING006), " ") + "@X0E was nice enough to bring a few cells to the Robo-Medic@X0F"
  76.     FPutLn 1, "@X0Eafter finding you dead in the Turbo-Shafts, it seems that you have lost all of @X0F"
  77.     FPutLn 1, "@X0Eyour cash and weapons though.  Better luck next time!"
  78.     FPutLn 1, "@X01≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡@X0F"
  79.     FClose 1
  80.     DGo 0, INTEGER001
  81.     Cls
  82.     Newlines 3
  83.     PrintLn "@X0E You come across a body splattered across the bulkhead, weapons scattered @X07"
  84.     PrintLn "@X0Eabout it.  On closer inspection, you see that it was @X0B", STRING004, "@X0E,@X07"
  85.     PrintLn "@X0E and he was carrying an interesting assorment of weaponry.  Not to mention@X07"
  86.     PrintLn "@X0E a total of@X0B ", INTEGER002, "@X0E in available credit.@X07"
  87.     PrintLn 
  88.     PrintLn "@X0E Being the good samaritan that you are, you scrape up enough brain tissue@X07"
  89.     PrintLn "@X0E off the walls for the medics to reconstitute ", STRING004, ", figuring that by@X07"
  90.     PrintLn "@X0E selling @X0B", STRING004, "'@X0Bs @X0Eweapons and taking the cash you can cover your expenses.@X07"
  91.     PrintLn 
  92.     DGo 0, STRING003
  93.     DPut 0, "CASH", DGet(0, "CASH") + INTEGER002
  94.     PrintLn 
  95.     PrintLn "@X09                       What a great person you are...@X07"
  96.     Newline
  97.     Call PPEPath() + "VRS-M19.PPE"
  98.     :LABEL003
  99.     DCloseAll
  100.     End
  101.  
  102. ;------------------------------------------------------------------------------
  103. ;
  104. ; Usage report (before postprocessing)
  105. ;
  106. ; ■ Statements used :
  107. ;
  108. ;    2       End
  109. ;    1       Cls
  110. ;    6       Goto 
  111. ;    9       Let 
  112. ;    11      PrintLn 
  113. ;    7       If 
  114. ;    1       FAppend 
  115. ;    1       FClose 
  116. ;    4       FPutLn 
  117. ;    1       Newline
  118. ;    1       Newlines 
  119. ;    1       Call 
  120. ;    1       EndFunc
  121. ;    1       DOpen 
  122. ;    1       DCloseAll
  123. ;    1       DTop 
  124. ;    5       DGo 
  125. ;    1       DSkip 
  126. ;    3       DGet 
  127. ;    16      DPut 
  128. ;
  129. ;
  130. ; ■ Functions used :
  131. ;
  132. ;    8       +
  133. ;    4       ==
  134. ;    1       <
  135. ;    1       >
  136. ;    2       Trim()
  137. ;    1       String()
  138. ;    3       PPEPath()
  139. ;    2       PcbNode()
  140. ;    1       GetEnv()
  141. ;    1       ToInteger()
  142. ;    2       Mixed()
  143. ;    1       DEof()
  144. ;    1       DRecNo()
  145. ;    5       DGet()
  146. ;
  147. ;------------------------------------------------------------------------------
  148. ;
  149. ; Analysis flags : C
  150. ;
  151. ; C - Call child PPE ■ 3
  152. ;     This is usually normal, but may be a tricky way to launch some
  153. ;     sysop-only commands.
  154. ;     ■ Search for : CALL
  155. ;
  156. ;------------------------------------------------------------------------------
  157. ;
  158. ; Postprocessing report
  159. ;
  160. ;    0       For/Next
  161. ;    0       While/EndWhile
  162. ;    0       If/Then or If/Then/Else
  163. ;    0       Select Case
  164. ;
  165. ;------------------------------------------------------------------------------
  166. ;                 AEGiS Corp - Break the routines, code against the machines!
  167. ;------------------------------------------------------------------------------
  168.